// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IAsynchronousTestDispatcher.cs" company="JDML Consulting Ltd.">
//   Copyright 2011 Photon Project - http://photon.codeplex.com
// </copyright>
// <summary>
//   Defines the IAsynchronousTestDispatcher type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Photon.Testing.Threading
{
    using System;

    public interface IAsynchronousTestDispatcher
    {
        void SendOrPost(Action a);
        void SendOrPost(Delegate d, params object[] args);
        bool CheckAccess();
    }
}